﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hsp.Auto.SQLite.Models
{
    /// <summary>
    /// Sqlite列信息实体
    /// </summary>
    public class SqliteColumns
    {
        // cid, name, type,notnull, dflt_value, pk

        /// <summary>
        /// 列序号
        /// </summary>
        public int cid { get; set; }

        /// <summary>
        /// 列名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 列字段类型
        /// </summary>
        public string type { get; set; }

        /// <summary>
        /// 非空
        /// </summary>
        public int notnull { get; set; }

        /// <summary>
        /// 默认值
        /// </summary>
        public string dflt_value { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        public int pk { get; set; }

    }
}
